#!/bin/bash

gses=("GSE129166" "GSE46474" "GSE15296" "GSE14346")
https=("https://ftp.ncbi.nlm.nih.gov/geo/series/GSE129nnn/GSE129166/suppl//GSE129166_RAW.tar" "https://ftp.ncbi.nlm.nih.gov/geo/series/GSE46nnn/GSE46474/suppl//GSE46474_RAW.tar" "https://ftp.ncbi.nlm.nih.gov/geo/series/GSE15nnn/GSE15296/suppl//GSE15296_RAW.tar" "https://ftp.ncbi.nlm.nih.gov/geo/series/GSE14nnn/GSE14346/suppl//GSE14346_RAW.tar")

for i in $(seq 0 3);
do
    echo "wget ${https[$i]}";
    echo "tar -xvf ${gses[$i]}_RAW.tar -C ./posttransplant_${gses[$i]}/${gses[$i]}_CEL";
done
